plat: xilinx: zynqmp: Build for DDR if SPD is enabled
authorSiva Durga Prasad Paladugu <[email protected]>
Wed, 20 Jun 2018 11:31:13 +0000 (17:01 +0530)
committerSiva Durga Prasad Paladugu <[email protected]>
Thu, 21 Jun 2018 04:48:48 +0000 (10:18 +0530)
This patch builds ATF to DDR if SPD is enabled as it cant fit in
On chip memory(OCM) with SPD enabled. This solves the issue
of build failure with SPD enabled for ZynqMP platform.

Signed-off-by: Siva Durga Prasad Paladugu <[email protected]>
plat/xilinx/zynqmp/include/platform_def.h

index ebbc8c2cd39278b7c7ba772fe2bc4646b1ca83c7..49766cc9287801d0fca269a43c897ff9c4507c68 100644 (file)
@@ -34,7 +34,7 @@
  * little space for growth.
  */
 #ifndef ZYNQMP_ATF_MEM_BASE
-#if !DEBUG
+#if !DEBUG && defined(SPD_none)
 # define BL31_BASE                     0xfffea000
 # define BL31_LIMIT                    0xffffffff
 #else